package com.xbenmh.order.autoBean;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @Author: xben
 * @Date: 2018/12/3 14:42
 */
@Component
@Qualifier("cold")
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class IceCream implements  Dessert {
    @Override
    public void setDessert(Dessert dessert) {

    }
}
